/*
 * @Description: 支付渠道配置
 * @Date: 2022-12-27 21:18:43
 * @Author: lizhiqiang
 */
import {get, post} from "@/utils/request"

export const G = (id:string)=>{
    return get(`/cdwl-merchant/inner/paymentchannel/info/${id}`)
}

export const GL =(params:any)=>{
    return post("/cdwl-merchant/inner/paymentchannel/list",params)
}
export const S = (params:any)=>{
    return post("/cdwl-merchant/inner/paymentchannel/save",params)
}

export const U = (params:any)=>{
    return post("/cdwl-merchant/inner/paymentchannel/update",params)
}
export const D = (params:any)=>{
    return post("/cdwl-merchant/inner/paymentchannel/deleteBatch",params)
}

export const GA =(params:any)=>{
    return post("/cdwl-merchant/inner/paymentchannel/getAll",params)
}